package com.hsgene.order.service.api.impl;

import com.hsgene.common.util.exception.CommonErrorCode;
import com.hsgene.common.util.result.ApiResult;
import com.hsgene.order.service.api.OrderPayService;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author wangbing
 * @version 1.0, 2018/12/12
 */
@Component
public class OrderPayServiceImpl implements OrderPayService {
    @Override
    public ApiResult<Map<String, Object>> orderPay(String orderId, String payType, int payAmount) {
        return ApiResult.fail(CommonErrorCode.PAY_SERVICE_NOT_AVAILABLE);
    }

    @Override
    public ApiResult<Map<String, Object>> queryPayOrder(String orderId, String payOrderId) {
        return ApiResult.fail(CommonErrorCode.PAY_SERVICE_NOT_AVAILABLE);
    }
}
